﻿@{
    ViewBag.Title = "Details";
}
@using YogaStudio.Data.Domain

<div class="main">
    <div class="content">
        <div class="section group">
            <div class="col span_2_of_3">
                <div class="contact-form">

                    @Html.Action("_Details", new { id = ViewBag.Id })

                </div>
                @if (ViewBag.IsIdValid && User.IsInRole("Faculty"))
                {
                    <p>
                        @Html.ActionLink("Approve", "ReqChgWaiverStatus", new { id = ViewBag.Id, status = WaiverRequestStatus.Approved }, new { @class = "btn", @id = "bluebck" })
                        @Html.ActionLink("Reject", "ReqChgWaiverStatus", new { id = ViewBag.Id, status = WaiverRequestStatus.Rejected }, new { @class = "btn", @id = "bluebck" })
                        @Html.ActionLink("Cancel", "AllWaivers", null, new { @class = "btn", @id = "bluebck" })
                    </p>
                }
            </div>
        </div>
    </div>
</div>